<!--全屏弹窗提交表单-->
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form" target="hide_form" method="post" action="">
                <div class="layui-form-item">
                    <label class="layui-form-label">当前密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="old_password" lay-verify="required" lay-verType="tips" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">新密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="password" lay-verify="pass" lay-verType="tips" autocomplete="off" id="LAY_password" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">6到16个字符</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">确认新密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="confirm_password" lay-verify="repass" lay-verType="tips" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="submit" class="layui-btn layui-btn-normal" value="立即保存">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<!--小屏弹窗提交表单-->
<form class="layui-form layui-form-bedeck" target="hide_form" method="post" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">角色名称：</label>
        <div class="layui-input-block">
            <input type="text" name="role_name" value="{$oldData.role_name|default=''}" required lay-verify="required"  class="layui-input" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">LOGO：</label>
        <div class="layui-input-block">
            <div class="layui-upload">
                <input type="hidden" name="logo" value="{$oldData.logo|default='default.png'}" id="data_logo" />
                <button type="button" class="layui-btn" onclick="uploadOnclick()">上传图片</button>
                <div class="layui-upload-list">
                    <img id="logo_img" width="80" height="80" layer-src="{$site.domain}__STATIC__/upload/logo/{$oldData.logo|default='default.jpg'}" src="{$site.domain}__STATIC__/upload/logo/{$oldData.logo|default='default.jpg'}" alt="LOGO" />
                </div>
            </div>
            <div class="layui-form-mid layui-word-aux">建议尺寸60*60</div>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <div class="layui-input-block">
            <input type="hidden" name="role_id" value="{$oldData.role_id|default=''}">
            <input type="submit" class="layui-btn layui-btn-normal" value="立即保存">
        </div>
    </div>
</form>
<!--新窗口列表-->
<div class="layui-fluid">
    <div class="layui-card">
        <form class="layui-form layui-card-header layuiadmin-card-header-auto" method="get" action="">
            <blockquote class="layui-elem-quote">注意：删除最新本后，最新本更新为上个版本</blockquote>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">开始时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="start_time" value="{$start_time|default=''}" id="start_time" readonly class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">结束时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="end_time" value="{$end_time|default=''}" id="end_time" readonly class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">关键词</label>
                    <div class="layui-input-block">
                        <input type="text" name="keywords" value="{$keywords|default=''}" placeholder="请输入手机号/用户账号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">性别</label>
                    <div class="layui-input-block">
                        <select name="sex">
                            <option value="0">不限</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layuiadmin-btn-useradmin">
                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            </div>
        </form>
        <div class="layui-card-body">
            <div class="left mb10">
                // 添加
            </div>
            <div class="layui-form">
                <table class="layui-table" id="table-list">

                </table>
                <div class="paging">{$page|raw}</div>
            </div>
        </div>
    </div>
</div>